package com.wh.wisdomsite.xbox.du.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 扬尘警报预警参数配置entity
 * @author 刘旭
 * @version V1.0
 * @Package com.wh.wisdomsite.xbox.du.entity
 * @date 2018年08月05日 2018/8/5
 * @Copyright 企业版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2018
 */
@TableName("du_dustAlarmConfig")
public class DustAlarmConfig extends Model<DustAlarmConfig> {

    /**
     * 扬尘警报预警参数ID
     */
    @TableId(type = IdType.UUID)
    private String dacId;

    /**
     *FK, 公司ID
     */
    @TableField("companyId")
    private Integer companyId;

    /**
     *FK, 项目ID
     */
    @TableField("prId")
    private String prId;

    /**
     *预警触发所需持续时间(s)
     */
    @TableField("earlyWarnTrigger")
    private Integer earlyWarnTrigger;

    /**
     *报警触发所需持续时间(s)
     */
    @TableField("alarmTrigger")
    private Integer alarmTrigger;

    /**
     *aqi预警阈值
     */
    @TableField("aqiEarlyWarn")
    private Double aqiEarlyWarn;

    /**
     *aqi报警阈值
     */
    @TableField("aqiAlarm")
    private Double aqiAlarm;

    /**
     *pm2.5预警阈值
     */
    @TableField("pm25EarlyWarn")
    private Double pm25EarlyWarn;

    /**
     *pm2.5报警阈值
     */
    @TableField("pm25Alarm")
    private Double pm25Alarm;

    /**
     *pm10预警阈值
     */
    @TableField("pm10EarlyWarn")
    private Double pm10EarlyWarn;

    /**
     *pm10报警阈值
     */
    @TableField("pm10Alarm")
    private Double pm10Alarm;

    /**
     *风速预警阈值
     */
    @TableField("wsEarlyWarn")
    private Double wsEarlyWarn;

    /**
     *风速报警阈值
     */
    @TableField("wsAlarm")
    private Double wsAlarm;

    /**
     *温度预警阈值
     */
    @TableField("tempEarlyWarn")
    private Double tempEarlyWarn;

    /**
     *温度报警阈值
     */
    @TableField("tempAlarm")
    private Double tempAlarm;

    /**
     *湿度预警阈值
     */
    @TableField("humEarlyWarn")
    private Double humEarlyWarn;

    /**
     *湿度报警阈值
     */
    @TableField("humAlarm")
    private Double humAlarm;

    /**
     *噪声预警阈值
     */
    @TableField("noiseEarlyWarn")
    private Double noiseEarlyWarn;

    /**
     *噪声报警阈值
     */
    @TableField("noiseAlarm")
    private Double noiseAlarm;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @TableField("createDate")
    private Date createDate;

    /**
     * 创建者
     */
    @TableField("createBy")
    private String createBy;

    /**
     * 更新时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @TableField("updateDate")
    private Date updateDate;

    /**
     * 更新者
     */
    @TableField("updateBy")
    private String updateBy;




    public String getDacId() {
        return dacId;
    }

    public void setDacId(String dacId) {
        this.dacId = dacId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getPrId() {
        return prId;
    }

    public void setPrId(String prId) {
        this.prId = prId;
    }

    public Integer getEarlyWarnTrigger() {
        return earlyWarnTrigger;
    }

    public void setEarlyWarnTrigger(Integer earlyWarnTrigger) {
        this.earlyWarnTrigger = earlyWarnTrigger;
    }

    public Integer getAlarmTrigger() {
        return alarmTrigger;
    }

    public void setAlarmTrigger(Integer alarmTrigger) {
        this.alarmTrigger = alarmTrigger;
    }

    public Double getAqiEarlyWarn() {
        return aqiEarlyWarn;
    }

    public void setAqiEarlyWarn(Double aqiEarlyWarn) {
        this.aqiEarlyWarn = aqiEarlyWarn;
    }

    public Double getAqiAlarm() {
        return aqiAlarm;
    }

    public void setAqiAlarm(Double aqiAlarm) {
        this.aqiAlarm = aqiAlarm;
    }

    public Double getPm25EarlyWarn() {
        return pm25EarlyWarn;
    }

    public void setPm25EarlyWarn(Double pm25EarlyWarn) {
        this.pm25EarlyWarn = pm25EarlyWarn;
    }

    public Double getPm25Alarm() {
        return pm25Alarm;
    }

    public void setPm25Alarm(Double pm25Alarm) {
        this.pm25Alarm = pm25Alarm;
    }

    public Double getPm10EarlyWarn() {
        return pm10EarlyWarn;
    }

    public void setPm10EarlyWarn(Double pm10EarlyWarn) {
        this.pm10EarlyWarn = pm10EarlyWarn;
    }

    public Double getPm10Alarm() {
        return pm10Alarm;
    }

    public void setPm10Alarm(Double pm10Alarm) {
        this.pm10Alarm = pm10Alarm;
    }

    public Double getWsEarlyWarn() {
        return wsEarlyWarn;
    }

    public void setWsEarlyWarn(Double wsEarlyWarn) {
        this.wsEarlyWarn = wsEarlyWarn;
    }

    public Double getWsAlarm() {
        return wsAlarm;
    }

    public void setWsAlarm(Double wsAlarm) {
        this.wsAlarm = wsAlarm;
    }

    public Double getTempEarlyWarn() {
        return tempEarlyWarn;
    }

    public void setTempEarlyWarn(Double tempEarlyWarn) {
        this.tempEarlyWarn = tempEarlyWarn;
    }

    public Double getTempAlarm() {
        return tempAlarm;
    }

    public void setTempAlarm(Double tempAlarm) {
        this.tempAlarm = tempAlarm;
    }

    public Double getHumEarlyWarn() {
        return humEarlyWarn;
    }

    public void setHumEarlyWarn(Double humEarlyWarn) {
        this.humEarlyWarn = humEarlyWarn;
    }

    public Double getHumAlarm() {
        return humAlarm;
    }

    public void setHumAlarm(Double humAlarm) {
        this.humAlarm = humAlarm;
    }

    public Double getNoiseEarlyWarn() {
        return noiseEarlyWarn;
    }

    public void setNoiseEarlyWarn(Double noiseEarlyWarn) {
        this.noiseEarlyWarn = noiseEarlyWarn;
    }

    public Double getNoiseAlarm() {
        return noiseAlarm;
    }

    public void setNoiseAlarm(Double noiseAlarm) {
        this.noiseAlarm = noiseAlarm;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    @Override
    protected Serializable pkVal() {
        return this.dacId;
    }

}
